f2820bd2d2c87ddc99ead2b135b18a6c157b75d4,src/test/java/me/magnet/consultant/ConsultantTest.java,ConsultantTest,verifyConsulHostWithSchemeDoesNotDefaultToDifferentPort,#,286
Before Change
consultant = Consultant.builder()
.identifyAs("oauth")
.usingHttpClient(httpBuilder.create())
.withConsulHost("http://localhost")
.build();
assertEquals("http://localhost", consultant.getConsulHost());
}
After Change
consultant = Consultant.builder()
.identifyAs("oauth")
.usingHttpClient(httpBuilder.create())
.withConsulHost("http://localhost")
.pullConfigFromConsul(false)
.build();
assertEquals("http://localhost", consultant.getConsulHost());
}